<table cellpadding="0" cellspacing="0" width="100%" align="left" class="table-list">
<?php if(isset ($aryMyProduct[0])) {?>
    <tr class="alt">
        <td colspan="13">
                <div style="font-weight: bold;">
                    Danh sách sản phẩm tháng <?php echo $month;?>/<?php echo $year;?></span>
                </div>
            </td>
        </tr>
        <tr class="">
            <td class="order_product_title">
                Ngày
            </td>
            <td class="order_product_title">
                Tên sản phẩm
            </td>
            <td class="order_product_title">
                SL/ĐV
            </td>
            <td class="order_product_title">
                Giá nhập
            </td>
            <td class="order_product_title">
                Giá bán
            </td>
            <td class="order_product_title">
                Lãi
            </td>
            <td class="order_product_title">
                Thuế 25%
            </td>
            <td class="order_product_title">
                Phí VC
            </td>
            <td class="order_product_title">
                Phí DV
            </td>
            <td  class="order_product_title">
                Lợi nhận
            </td>
            <td  class="order_product_title">
                T.Tác
            </td>
        </tr>
        
            <?php foreach ($aryMyProduct as $key => $value) {?>
            <tr class="<?php echo ($key%2 == 0) ? 'alt' : '';?>">
                <td align="left">
                    <?php echo date("d/m/Y", strtotime($value['customer_product_date_process']));?>
                </td>
                <td>
                    <?php echo $value['customer_product_product_name'];?>
                </td>
                <td>
                    <?php echo $value['customer_product_number'];?>/<?php echo $value['customer_product_unit'];?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_in_price'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_out_price'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_total_price'], 0, ',', '.'); ?>
                </td>
                <td>
                     <?php echo number_format($value['customer_product_is_tax'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_transport'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_services'], 0, ',', '.'); ?>
                </td>
                <td>
                    <?php echo number_format($value['customer_product_total_profit'], 0, ',', '.'); ?>
                </td>
                <td>
                        <img class="cpointer" title="Xem chit tiết thông tin về sản phẩm này." src="<?php echo $sub_domain;?>/images/form/icon-edit.gif" onclick="AdminController.editMyProductAndMyCustomer('<?php echo $value['customer_product_id'];?>', '<?php echo $value['customer_product_customer_id'];?>');">
                </td>
            </tr>
        <?php } ?>
            <tr>
                <td colspan="11" align="right">
                    <?php echo $strPaging;?>
                </td>
            </tr>
        <?php } else {?>
            <div style="text-align: center;font-weight: bold;color: #F58516;">Không có dữ liệu tháng <?php echo $month;?>/<?php echo $year;?></div>
        <?php } ?>
        

</table>